package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-04.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqAddShopCarBean {

    /**
     * _savetype 	是 	string 	操作类型：新增：add ； 编辑：update
     guid 	否 	string 	GUID
     matid 	是 	string 	商品ID
     price 	是 	string 	价格
     num 	是 	string 	数量
     remarktxt 	否 	string 	备注
     debug 	是 	string 	开启：true
     * @param id
     * @param guid
     * @param costprice
     */

    private String _savetype = "add";
    private boolean debug = AppHelp.getInstance().Debug;
    private String num = "1";
    private String guid;
    private String matid;
    private String price;



    public ReqAddShopCarBean(String id, String guid, String costprice) {
        this.guid = guid;
        this.matid = id;
        this.price = costprice;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
